package com.lanmao.ems.dao.impl;

import com.lanmao.emc.enums.DBType;
import org.springframework.stereotype.Repository;

/**
 * 描述：
 *
 * @author lanmao
 * @since 2024年11月11日 20:39
 */
@Repository
public class PgsqlUpgradeDaoImpl extends UpgradeDaoImpl {

    @Override
    public String getTableExistSql() {
        return "select count(*) from information_schema.tables where table_name in (";
    }


    @Override
    public DBType getDbType() {
        return DBType.PGSQL;
    }
}